package com.woniuxy.three.pms.bean;

import javax.validation.constraints.NotNull;

public class HotelBean {
	@NotNull(message = "房间必须属于一家酒店")
    private Integer id;

    private String name;

    private String address;

    private String principal;

    @Override
	public String toString() {
		return "HotelBean [id=" + id + ", name=" + name + ", address=" + address + ", principal=" + principal + "]";
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getPrincipal() {
        return principal;
    }

    public void setPrincipal(String principal) {
        this.principal = principal == null ? null : principal.trim();
    }
}